.tandem-gallery
  ul
    - @images.each do |image|
      li
        = image_tag image.resource.url(:thumb), :onclick => "select_gallery_item(#{image.id})", :class => "thumb"
        ul.actions
          li 
            a.use href="/" Use
            = link_to 'Delete', image, :confirm => 'Are you sure?', :method => :delete, :class => "delete"
